home *** CD-ROM | disk | FTP | other *** search
Makefile | 1998-06-23 | 4.4 KB | 167 lines |
- #--- Amiga PowerUP---
- # SAS Makefile
-
- #####################################################################
- #
- # Options
- #
-
- IPATH = IDIR=/TimerSupport/ IDIR=//include/ IDIR=include:
- GCCIPATH = -Iinclude: -I../../include/
- ASMFLAGS = -sa -w2- -wo- -M4000 -x -d$(CODETYPE)=1 -dEXEC_68060=0
- APATH = -iasm: -i//include -iinclude/
-
- #####################################################################
- #
- # Machine Configuration
- #
-
-
- ASM = basm $(ASMFLAGS) $(APATH)
-
- DEBUG = DEBUG=LINE
- OPTFLAGS = OPTIMIZEPEEP OPTIMIZE
- #OPTFLAGS =
- CFLAGS = STRINGMERGE NOSTACKCHECK PARMS=REGISTER CPU=68030 MATH=68881 DATA=FARONLY CODE=NEAR
- CPPFLAGS =
- CC = sc $(CFLAGS) $(OPTFLAGS) $(DEBUG) $(IPATH)
- LINK = slink
- #LINK = DevTools:Apps/LK1.06/lk SINGLEHUNK
-
- OBJECT = OBJNAME=
-
-
-
- #####################################################################
- #
- # Default rules
- #
-
- .c.o$(TARGET):
- $(CC) $(OBJECT)$*.o$(TARGET) $*.c
-
-
- .asm.o$(TARGET):
- $(ASM) -o$*.o$(TARGET) $*.asm
-
-
- all: Msg2 \
- Msg2PPC.elf \
- Msg2old \
- Msg2oldPPC.elf \
- Msg3 \
- Msg3PPC.elf \
- Msg4 \
- Msg4PPC.elf \
- Msg5 \
- Msg5PPC.elf \
- Msg6 \
- Msg6PPC.elf \
- Msg7 \
- Msg7PPC.elf
-
- Msg2.o: Msg2.c
- Msg2PPC.elf: Msg2PPC.c
- Msg2old.o: Msg2old.c
- Msg2oldPPC.elf: Msg2oldPPC.c
- Msg3.o: Msg3.c
- Msg3PPC.elf: Msg3PPC.c
- Msg4.o: Msg4.c
- Msg4PPC.elf: Msg4PPC.c
- Msg5.o: Msg5.c
- Msg5PPC.elf: Msg5PPC.c
- Msg6.o: Msg6.c
- Msg6PPC.elf: Msg6PPC.c
- Msg7.o: Msg7.c
- Msg7PPC.elf: Msg7PPC.c
-
-
-
- Msg2PPC.elf: Msg2PPC.c
- ppc-amigaos-gcc -O2 -fomit-frame-pointer $(GCCIPATH) -v -S Msg2PPC.c
- ppc-amigaos-gas -o$*.oPPC Msg2PPC.s
- ppc-amigaos-ld -r Msg2PPC.oPPC -o Msg2PPC.elf
- ppc-amigaos-objdump --section-headers --all-headers --reloc --disassemble-all --line-numbers $@ >$@.dump
-
- Msg2oldPPC.elf: Msg2oldPPC.c
- ppc-amigaos-gcc -O2 -fomit-frame-pointer $(GCCIPATH) -v -S Msg2oldPPC.c
- ppc-amigaos-gas -o$*.oPPC Msg2oldPPC.s
- ppc-amigaos-ld -r Msg2oldPPC.oPPC -o Msg2oldPPC.elf
- ppc-amigaos-objdump --section-headers --all-headers --reloc --disassemble-all --line-numbers $@ >$@.dump
-
- Msg3PPC.elf: Msg3PPC.c
- ppc-amigaos-gcc -O2 -fomit-frame-pointer $(GCCIPATH) -v -S Msg3PPC.c
- ppc-amigaos-gas -o$*.oPPC Msg3PPC.s
- ppc-amigaos-ld -r Msg3PPC.oPPC -o Msg3PPC.elf
- ppc-amigaos-objdump --section-headers --all-headers --reloc --disassemble-all --line-numbers $@ >$@.dump
-
- Msg4PPC.elf: Msg4PPC.c
- ppc-amigaos-gcc -O2 -fomit-frame-pointer $(GCCIPATH) -v -S Msg4PPC.c
- ppc-amigaos-gas -o$*.oPPC Msg4PPC.s
- ppc-amigaos-ld -r Msg4PPC.oPPC -o Msg4PPC.elf
- ppc-amigaos-objdump --section-headers --all-headers --reloc --disassemble-all --line-numbers $@ >$@.dump
-
- Msg5PPC.elf: Msg5PPC.c
- ppc-amigaos-gcc -O2 -fomit-frame-pointer $(GCCIPATH) -v -S Msg5PPC.c
- ppc-amigaos-gas -o$*.oPPC Msg5PPC.s
- ppc-amigaos-ld -r Msg5PPC.oPPC -o Msg5PPC.elf
- ppc-amigaos-objdump --section-headers --all-headers --reloc --disassemble-all --line-numbers $@ >$@.dump
-
- Msg6PPC.elf: Msg6PPC.c
- ppc-amigaos-gcc -O2 -fomit-frame-pointer $(GCCIPATH) -v -S Msg6PPC.c
- ppc-amigaos-gas -o$*.oPPC Msg6PPC.s
- ppc-amigaos-ld -r Msg6PPC.oPPC -o Msg6PPC.elf
- ppc-amigaos-objdump --section-headers --all-headers --reloc --disassemble-all --line-numbers $@ >$@.dump
-
- Msg7PPC.elf: Msg7PPC.c
- ppc-amigaos-gcc -O2 -fomit-frame-pointer $(GCCIPATH) -v -S Msg7PPC.c
- ppc-amigaos-gas -o$*.oPPC Msg7PPC.s
- ppc-amigaos-ld -r Msg7PPC.oPPC -o Msg7PPC.elf
- ppc-amigaos-objdump --section-headers --all-headers --reloc --disassemble-all --line-numbers $@ >$@.dump
-
-
-
-
- Msg2: Msg2.o /TimerSupport/Time.o
- $(LINK) \
- <WITH <
- lib:c.o Msg2.o /TimerSupport/Time.o TO Msg2 LIB lib:scm881nb.lib lib:scnb.lib lib:amiga.lib
- <
-
- Msg2old: Msg2old.o /TimerSupport/Time.o
- $(LINK) \
- <WITH <
- lib:c.o Msg2old.o /TimerSupport/Time.o TO Msg2old LIB lib:scm881nb.lib lib:scnb.lib lib:amiga.lib
- <
-
- Msg3: Msg3.o /TimerSupport/Time.o
- $(LINK) \
- <WITH <
- lib:c.o Msg3.o /TimerSupport/Time.o TO Msg3 LIB lib:scm881nb.lib lib:scnb.lib lib:amiga.lib
- <
-
- Msg4: Msg4.o /TimerSupport/Time.o
- $(LINK) \
- <WITH <
- lib:c.o Msg4.o /TimerSupport/Time.o TO Msg4 LIB lib:scm881nb.lib lib:scnb.lib lib:amiga.lib
- <
-
- Msg5: Msg5.o /TimerSupport/Time.o
- $(LINK) \
- <WITH <
- lib:c.o Msg5.o /TimerSupport/Time.o TO Msg5 LIB lib:scm881nb.lib lib:scnb.lib lib:amiga.lib
- <
-
- Msg6: Msg6.o /TimerSupport/Time.o
- $(LINK) \
- <WITH <
- lib:c.o Msg6.o /TimerSupport/Time.o TO Msg6 LIB lib:scm881nb.lib lib:scnb.lib lib:amiga.lib
- <
-
- Msg7: Msg7.o /TimerSupport/Time.o
- $(LINK) \
- <WITH <
- lib:c.o Msg7.o /TimerSupport/Time.o TO Msg7 LIB lib:scm881nb.lib lib:scnb.lib lib:amiga.lib
- <
-
-